Set up OpenCode V2 with a single custom provider: Relax AI (Beta).
The matching config lives in opencode-relax-beta.jsonc.
| """ | |
| The most atomic way to train and run inference for a GPT in pure, dependency-free Python. | |
| This file is the complete algorithm. | |
| Everything else is just efficiency. | |
| @karpathy | |
| """ | |
| import os # os.path.exists | |
| import math # math.log, math.exp |
Set up OpenCode V2 with a single custom provider: Relax AI (Beta).
The matching config lives in opencode-relax-beta.jsonc.
| Introduction to | |
| Mathematical Thinking | |
| Keith Devlin | |
| © Keith Devlin, 2012 | |
| Publisher: | |
| Keith Devlin | |
| 331 Poe St, Unit 4 | |
| Palo Alto, CA 94301 | |
| USA | |
| http://profkeithdevlin.com |
A comprehensive guide to automating Alpine Linux VMs on UTM for rapid deploy-test-destroy workflows.
Abstract: This guide documents Alpine-specific discoveries and workflows for UTM automation, focusing on P2P protocol testing, rapid iteration, and minimal resource overhead.
| #!/usr/bin/env python3 | |
| # written by gemini | |
| import glob | |
| import re | |
| import subprocess | |
| TARGET_PROPS = {"Broadcast RGB", "color format"} | |
| for card in sorted(glob.glob("/dev/dri/card*")): | |
| res = subprocess.run( |
A pattern for building personal knowledge bases using LLMs.
This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.
Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.